package com.gulimall.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.gulimall.common.utils.PageUtils;
import com.gulimall.product.entity.SpuInfoEntity;
import com.gulimall.product.vo.SpuSaveVo;

import java.util.List;
import java.util.Map;

/**
 * spu信息
 *
 * @author kkk
 * @email 2017809755@qq.com
 * @date 2022-05-17 21:49:10
 */
public interface SpuInfoService extends IService<SpuInfoEntity> {

    PageUtils queryPage(Map<String, Object> params);

    void saveSpuVo(SpuSaveVo spuSaveVo);

    void saveSpuInfoVo(SpuInfoEntity infoEntity);

    PageUtils querySpuInfoByCondition(Map<String, Object> params);

    void upProduct(Long spuId);

    Map<String, String> findSpuBySkuIds(List<Long> skuIds);
}

